package cn.readjava.dao;

import cn.readjava.bean.Video;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface VideoDao extends JpaRepository<Video, Long> {

    List<Video> findAllByVideoTypeId(Long id);
}
